package org.game.module.mailbo;

import com.sojoys.artifact.exception.AbstractLogicModelException;
import com.sojoys.artifact.factory.session.ISession;
import com.sojoys.artifact.core.IModule;
/** 
 * 邮件
 */
public interface MailBO extends IModule {
	byte classCode = 3;
	
	/** 邮件操作 [code = 769] */
	short operation = 769; 
	/** 邮件改变 [code = 770] */
	short pushMailCahange = 770; // 推送类型
	/** 发送全部邮件 [code = 771] */
	short sendAllMail = 771; // 推送类型
	/** 取得全部邮件 [code = 772] */
	short getMails = 772; 
	
	
	/** 邮件操作 [code = 769] */
	byte[] operation(ISession session, org.game.protobuf.c2s.C2SMailMsg.MailHandleMsg mailMsg) throws AbstractLogicModelException;
	
	
	
	/** 取得全部邮件 [code = 772] */
	byte[] getMails(ISession session) throws AbstractLogicModelException;
	
}